SUBROUTINE FRAMESET2
* Create a frameset with inner and outer frames.* Include the RealWeb definitions
INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP
* Start the HTML page.CALL RW_START_HTML_PAGE("Frameset2", "", "", "", RWD_FRAMESET)* Start the outer frameset.CALL RW_START_FRAMESET("", "50%,*", "")* Start the inner frameset.CALL RW_START_FRAMESET("30%,*", "", "")* Define the top left frame.CALL RW_FRAME("HELLOWORLD", "topleft", "")* Define the bottom left frame.CALL RW_FRAME("HELLOWORLD", "bottomleft", "")* Complete the inner frameset.CALL RW_END_FRAMESET* Define the right-hand frame.CALL RW_FRAME("WELCOME", "right", "")* Complete the outer frameset.CALL RW_END_FRAMESET
RETURN
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"><HTML><HEAD><META NAME="Generator" CONTENT="Reality"><TITLE>Frameset2</TITLE></HEAD><TITLE>Frameset2</TITLE><FRAMESET COLS="50%,*" ><FRAMESET ROWS="30%,*" ><FRAME SRC="/servlet/reality/test/HELLOWORLD" NAME="topleft"><FRAME SRC="/servlet/reality/test/HELLOWORLD" NAME="bottomleft"></FRAMESET><FRAME SRC="/servlet/reality/test/WELCOME" NAME="right"></FRAMESET></HTML>